{subtemplate common/header}
<div id="pt" class="wp"><a href="forum.php">$_G['setting']['bbname']</a> &rsaquo; {lang search}</div>
<div id="ct" class="wp cl w">
	<div class="wp mw">
		<form class="searchform" method="post" autocomplete="off" action="search.php?mod=group">
			<input type="hidden" name="formhash" value="{FORMHASH}" />
			<input type="hidden" name="srchfid" value="$srchfid" />
			{subtemplate search/pubsearch}

		</form>
	
		<!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}-->
			<!--{if $srchfid}-->
				{subtemplate search/thread_list}
			<!--{else}-->
				{subtemplate search/group_list}
			<!--{/if}-->
		<!--{/if}-->
	</div>
</div>


<script type="text/javascript">
<!--{if $sortid}-->
	ajaxget('forum.php?mod=post&action=threadsorts&sortid=$sortid&operate=1&inajax=1', 'threadsorts', 'threadsortswait');
<!--{/if}-->
</script>
{subtemplate common/footer}